import { Spin } from 'antd';
/**
 * 全局页面加载效果
 * @returns
 */
const Loading = () => {
  return (
    <div className="w-full h-full flex justify-center items-center">
      <Spin
        size="large"
        style={{
          position: 'fixed',
          top: '50%',
          left: '50%',
          transform: 'translate(-50%, -50%)',
        }}
      />
    </div>
  );
};

export default Loading;
